package com.module.shici.sql;

import androidx.room.Entity;
import androidx.room.PrimaryKey;

@Entity
public class ShiCi {
    @PrimaryKey(autoGenerate = true)
    private int id;
    private String title; //标题
    private String author; //作者
    private String content; //内容
    private String fanyi; //翻译
    private String zhushi; //注释
    private String chaodai; //朝代
    private String tag; //标签
    private String pingxi; //创作背景


    public ShiCi(String title, String author, String content, String fanyi, String zhushi, String chaodai, String tag, String pingxi) {
        this.title = title;
        this.author = author;
        this.content = content;
        this.fanyi = fanyi;
        this.zhushi = zhushi;
        this.chaodai = chaodai;
        this.tag = tag;
        this.pingxi = pingxi;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getFanyi() {
        return fanyi;
    }

    public void setFanyi(String fanyi) {
        this.fanyi = fanyi;
    }

    public String getZhushi() {
        return zhushi;
    }

    public void setZhushi(String zhushi) {
        this.zhushi = zhushi;
    }

    public String getChaodai() {
        return chaodai;
    }

    public void setChaodai(String chaodai) {
        this.chaodai = chaodai;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public String getPingxi() {
        return pingxi;
    }

    public void setPingxi(String pingxi) {
        this.pingxi = pingxi;
    }
}
